using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace JumpBall_2
{

    public class Boundary : MonoBehaviour
    {
        private void OnTriggerEnter(Collider other)
        {
            if (other.tag == "Player")
            {
                GameManager.Instance.GameOver();
            }
        }
    }
}